		
						:root {
				--main-light-color: #16232c;
				--main-dark-color: #fff;
				--dark-navy:#2d4756;
				--hotpink: #d7206f;
				--neonblue: #1d95dc;
				}
				a {
				color: inherit;
				}

				body * {
				border-color: currentColor !important;
				}
		
    .spacer { height:100vh; display:grid; place-items:center; color:#9fb3c8; }

    /* ===== Burst section ===== */
    .burst-section { position:relative; height:100vh; overflow:clip;
      background: radial-gradient(1200px 600px at 50% 50%, #192235 0%, var(--bg) 60%); }
    .burst-stage { position:sticky; top:0; height:100vh; width:100%; display:grid; place-items:center; }
    .burst-center { position:relative; width:min(78vw, 880px); height:min(78vw, 880px); }

    /* ===== Fixed center image (does not move or change) ===== */
    .burst-core {
      position:absolute; inset:0; display:grid; place-items:center;
      z-index: 1; /* under items (items are z-index:2) so they fly around/on top */
      pointer-events:none; /* ignore mouse */
    }
    .burst-core img {
      /*width: clamp(200px, 30vmin, 400px);
      height: clamp(200px, 30vmin, 400px);*/
      object-fit: contain;
      filter: drop-shadow(0 10px 30px rgba(0,0,0,0.35));
      opacity: 0.95;
    }

    /* ===== Burst items ===== */
    .burst-item {
      position:absolute; z-index:2;
      
	  /*
	  width: clamp(160px, 28vmin, 320px);
      height: clamp(160px, 28vmin, 320px);
	  */
	  
	  width: clamp(200px, 28vmin, 400px);
      height: clamp(200px, 28vmin, 400px);
	  
	  
      border-radius:16px; background:var(--card);
      box-shadow: 0 10px 30px rgba(0,0,0,0.35), 0 6px 12px rgba(0,0,0,0.2) inset;
      overflow:hidden; display:grid; place-items:center; text-align:center;
    }
    .burst-item h3 { margin:0.25rem 0 0; font-size:clamp(14px, 2.4vmin, 18px); letter-spacing:0.02em; color:#e6edf7; }
    .burst-item p  { margin:0.25rem 0 0; font-size:clamp(12px, 1.9vmin, 16px); color:#a7b4c9; padding:0 12px; }
    .burst-item img:not(.slide) { width:100%; height:100%; object-fit:cover; display:block; }

    /* ===== Slideshow variant ===== */
    .burst-item.is-slideshow { position:absolute; }
    .burst-item.is-slideshow .slide {
      position:absolute; inset:0; width:100%; height:100%;
      object-fit:cover; border-radius:16px; opacity:0; pointer-events:none;
      transition: opacity 0.35s ease;
    }
    .burst-item.is-slideshow .slide.is-active { opacity:1; }

    /* Title chip */
    .section-title {
      position:absolute; top:6vh; left:50%; transform:translateX(-50%);
      font-size:clamp(18px, 3.2vmin, 28px); letter-spacing:0.04em; color:#cde6f7;
      background:rgba(28,134,183,0.12); border:1px solid rgba(28,134,183,0.3);
      padding:10px 14px; border-radius:999px; backdrop-filter:blur(6px);
      z-index:3;
    }
    .badge {
      position:absolute; bottom:8px; right:10px; font-size:11px;
      color:#d0ecff; background:rgba(28,134,183,0.35); border:1px solid rgba(28,134,183,0.5);
      padding:4px 8px; border-radius:999px; letter-spacing:0.03em; pointer-events:none;
    }
	
    /* ===== Fixed right-side scroll cue ===== */
    #bf-scroll-cue {
	white-space: nowrap;
  cursor: pointer;
  box-shadow: 0 0 0 1px #0000001a,0 1px 3px #0000001a;	
	/*border-radius: 3px !important;	*/
	border-radius: 14px;	
      position: fixed;
      right: 18px;
      top: 50%;
      transform: translateY(-50%);
      z-index: 9999;
      display: flex;
      align-items: center;
      gap: 10px;
      padding: 10px 12px;
      
      background: rgba(255, 255, 255, 0.5);
      border: 1px solid rgba(205, 230, 247, 0.18);
      backdrop-filter: blur(10px);
      color: var(--cue);
      user-select: none;
      text-decoration: none;
    }
    #bf-scroll-cue .bf-label { font-size: 12px; letter-spacing: 0.08em; text-transform: uppercase; opacity: 0.9; }
    #bf-scroll-cue svg { width: 20px; height: 35px; display:block; } 
	
    /* Chevron animation */
    @keyframes bf-chevron {
      0%, 100% { transform: translateY(0); opacity: .35; }
      50%      { transform: translateY(5px); opacity: 1; }
    }
    .bf-chevron { animation: bf-chevron 1.2s infinite; transform-origin: 50% 50%; }

    /* Respect reduced motion */
    @media (prefers-reduced-motion: reduce) {
      .bf-chevron { animation: none; }
    }

    /* Hide cue near page bottom */
    .bf-cue-hidden { opacity: 0; pointer-events: none; transition: opacity .3s ease; }
    #bf-scroll-cue { transition: opacity .3s ease; }	
	
	
    :root{
    /* Tweak these to taste */
    --slider-bg: #0b0b0b;              /* section background */
    --logo-height: clamp(200px, 10vw, 400px);
    --gap: clamp(4rem, 8vw, 8rem);
    --duration: 30s;                   /* loop speed */
    --fade-width: 80px;                /* edge fade size */
  }

  /* Section that sits at the bottom of a page */
  .client-slider{
    /*background: var(--slider-bg);*/
    color: #fff;
    padding: 12px 0;
    position: relative;
	margin-top: auto;
  margin-bottom: auto;

  height:80vh;
  
  }

  /* Optional sticky-at-bottom behavior (uncomment if desired) */
  /* .client-slider{ position: sticky; bottom: 0; z-index: 50; } */

  /* Masked edge fade for a cleaner look */
  .logos{
    overflow: hidden;
    mask-image: linear-gradient(to right,
      transparent, black var(--fade-width),
      black calc(100% - var(--fade-width)), transparent);
    -webkit-mask-image: linear-gradient(to right,
      transparent, black var(--fade-width),
      black calc(100% - var(--fade-width)), transparent);
	  
		margin-top: 5rem;
		margin-bottom: 2rem;	  
	  
  }

  .logos__track{
    display: flex;
    align-items: center;
    gap: var(--gap);
    /* Make the row long enough and slide it left forever */
    width: max-content;
    animation: scroll var(--duration) linear infinite;
  }

  /* Pause the loop when the user hovers */
  .logos:hover .logos__track{
    animation-play-state: paused;
  }

  .logos__item{
    display: inline-flex;
    align-items: center;
    justify-content: center;
    height: var(--logo-height);
    /* Keep logos from growing too tall/warping */
  }
  .logos__item img{
    height: 100%;
    width: auto;
    display: block;
    filter: grayscale(100%) opacity(0.9); /* optional styling */
    transition: filter .2s ease;
  }
  .logos__item img:hover{
    filter: none;
  }

  /* Smooth infinite scroll */
  @keyframes scroll{
    from{ transform: translateX(0); }
    to{ transform: translateX(-50%); } /* because we duplicated content */
  }

  /* Respect reduced motion */
  @media (prefers-reduced-motion: reduce){
    .logos__track{ animation: none; }
  }


.logos__label{
	font-size:2rem;
	color: #fff;  
	font-weight: 700;
	line-height: 120%;
	width: 100vw;
	text-align: right;
	padding-top: 3rem;
	padding-right: 1rem;
	margin-top: 1em;
	margin-bottom: 1rem;
}

.quix-profile-text {
	width:100%;
}
  
.footer-profile-link-content-block {
	display: block;
}
  
  
@media (min-width: 768px) {      /* md */
	.logos__label{
		margin-bottom: 0.5rem;
		font-size: 3rem;
		padding-right: 3rem;		
	}
	
	.logos{
		margin-top: 2rem;
		margin-bottom: 2rem;		
	}
	
	.quix-profile-text {
		width:auto;
	}
	.footer-profile-link-content-block {
		display: inline-flex;
	}
}


  
 
.categories {
margin-top :3rem;
padding-bottom: 3rem;
}
 
  .categories_link-text {
  color:#16232c;
  }
  
.blub {
	color:#fff;
	font-size: 1.4rem;
	text-align: center;
	margin: 3em auto 1em;
	padding-left: 0em;
	padding-right: 0em;	
}
  
.div-block-37  {
	border: 0px solid #000;
	width: 360px;
	height: 180px;	
}

@media (min-width: 768px) {      /* md */
	.div-block-37 {
		width: 180px;
		height: 90px;
	}

	.blub {
		font-size: 1rem;
		padding-left: 2.2em;
		padding-right: 2.2em;	
	}	
}

  #whatwedo {
  height: 100vh;
  }
  
  #herovideo {
  width: 100vw;                 /* full width */
  min-height: 100vh;            /* full height */
  /* For mobile browser UI bars, also include dynamic viewport: */
  min-height: 100dvh;

  background-image: url("../assets/The_Brains_Factory_Logo_Final_Blue-Navy-Vertical.jpg");
  background-size: cover;       /* fill, cropping if needed */
  background-position: center;  /* keep centered */
  background-repeat: no-repeat;

  /* optional: prevent 100vw causing a horizontal scroll due to scrollbar */
  overflow-x: clip;
  }
  
 @media (min-width: 768px) {      /* md */
	#herovideo {
		background-image: url("../assets/The_Brains_Factory_Logo_Navy-onwhite-pad.png");
	}
 }
  
.timeline1 {
	background-image: url("../assets/brains_2004.png") !important ;
}
.timeline2 {
	background-image: url("../assets/timeline2.png") !important ;
}
.timeline3 {
	background-image: url("../assets/timeline3.png") !important ;
}
.timeline4 {
	background-image: url("../assets/brains_2014.png") !important ;
}
.timeline5 {
	background-image: url("../assets/timeline5.png") !important ;
}
.timeline6 {
	background-image: url("../assets/timeline6.png") !important ;
}
.timeline7 {
	background-image: url("../assets/timeline7.png") !important ;
}
.timeline8 {
	background-image: url("../assets/timeline8.png") !important ;
}
.timeline9 {
	background-image: url("../assets/brains_2024.png") !important ;
}
.timeline10 {
	background-image: url("../assets/timeline10.png") !important ;
}

.categories_border {
  opacity: 1;
  color: #2d4756;
  -webkit-text-stroke-color: #2d4756;
  border: 2px solid #2d4756;
}
  
.categories_link-text {
  color: #1d95dc;
}

.categories_link {
	padding: 1em 1.82rem;
}

@media (min-width: 768px) {      /* md */
	.categories_border { border: 5px solid #2d4756!important; }
}


#whatwedo {
	height:100vh;
}

.nav_link-text {
	font-size: 0.8rem;
}

 .medium-head {
    color: #1d95dc;
	  font-weight: 700;
	  font-size: 3rem;
	}
.w-webflow-badge {
    background-color: #d7206f !important;
	}	
	
.small-head {
	font-size:1rem;
	color: #1d9add;
}  




.para-blue {
	font-size: 0.7rem;
	line-height: inherit;	
}

.footer-info-card-block {
	padding-bottom:1rem;
}

.footer-info-card-headine-text {
	font-size:1rem;
	color: #1d9add;
}  

.footer-info-card-text {
	font-size:1rem; !important;
	line-height: inherit;	
}  


.big-green-number {
  font-weight: 700;
  font-size: 3rem;
  color: #fff ; /*#1d9add;*/
  }
  
.footer-wrapper {
  padding-bottom: 3rem;
}

.form-input , .form-input.is-text-area {
  padding: 1rem;
  }

.contact-link{
  color: inherit;
  text-decoration: none;
  transition: color .2s ease;
  font-size:1rem; !important;
}


.contact-link:hover{
  color: #d7206f;
}

/* Keyboard focus */
.contact-link:focus-visible{
  outline: 2px solid #e60023;
  outline-offset: 2px;
}


.contact-link--var:hover{
  color: #d7206f;
}

.contactmenulink {
  color: #d7206f;
}

.tag3 {
	font-size: 19em;
  color: #d7206f;
}
@media (min-width: 768px) {       /* md */
	.tag3 {
	  font-size: 12em;
	}
}

.bf-close-x {
  color: #d7206f;
}

.categories_highlight {
  color: #d7206f;
}

.neonpink{
  color: #d7206f;
}
.text-sm-1 {
font-size: 0.7rem;
}

.footer-name-text {
	color:#fff;
}

.nav_top {
	height:5rem;	
	border-bottom: 1px solid var(--light);
	transition: border-bottom-width .2s ease;
	 background-color .2s;
}

.nav_top.no-border {
	border-bottom-width: 0;
}

.nav_top.bg-color {
	background-color :rgb(22, 35, 44);
}
.is--nav {
	background-color :transparent !important;
}

    /* Keep font-size fixed; we animate transform/opacity only */
    .bf-text {
      font-family: "Helvetica Now Display", "Helvetica Neue", Arial, sans-serif;
      font-weight: 800;
      letter-spacing: 2px;
      font-size: 800px;                /* stays fixed */
      fill: rgb(29,154,221);
      transform-box: fill-box;         /* safe transforms in SVG */
      transform-origin: left center;
      animation: bf-reveal 900ms cubic-bezier(.2,.8,.2,1) 60ms both;
    }
    @keyframes bf-reveal {
      0%   { opacity: 0; transform: scale(0.98); }
      100% { opacity: 1; transform: scale(1); }
    }
	
	@media (min-width:992px) {html.w-mod-js:not(.w-mod-ix) [data-w-id="2070bcab-6af1-4142-08b0-c6e33096e242"] {opacity:0;}}@media (max-width:991px) and (min-width:768px) {html.w-mod-js:not(.w-mod-ix) [data-w-id="2070bcab-6af1-4142-08b0-c6e33096e242"] {opacity:0;}}@media (max-width:767px) and (min-width:480px) {html.w-mod-js:not(.w-mod-ix) [data-w-id="2070bcab-6af1-4142-08b0-c6e33096e242"] {opacity:0;}}@media (max-width:479px) {html.w-mod-js:not(.w-mod-ix) [data-w-id="2070bcab-6af1-4142-08b0-c6e33096e242"] {opacity:0;}}
	text{font-family:"Montserrat","Poppins","Inter",Arial,sans-serif;font-weight:800;letter-spacing:2px}


@media (min-width: 768px) {       /* md */
    .bf-text {
		font-size: 200px; 
	}

    @keyframes bf-reveal {
      0%   { opacity: 0; transform: scale(0.99); }
      100% { opacity: 1; transform: scale(1); }
    }
		
	
}


  .footer-info-content-block {
    display: block;
  }
  
	
/* --- Simple responsive display utilities (Bootstrap-style) --- */
/* Base (applies to all sizes) */
.d-none { display: none !important; }
.d-block { display: block !important; }
.d-inline { display: inline !important; }
.d-inline-block { display: inline-block !important; }

/* Breakpoints (mobile-first) */
@media (min-width: 576px) {       /* sm */
  .d-sm-none        { display: none !important; }
  .d-sm-block       { display: block !important; }
  .d-sm-inline      { display: inline !important; }
  .d-sm-inline-block{ display: inline-block !important; }
}

@media (min-width: 768px) {       /* md */
  .d-md-none        { display: none !important; }
  .d-md-block       { display: block !important; }
  .d-md-inline      { display: inline !important; }
  .d-md-inline-block{ display: inline-block !important; }
}

@media (min-width: 992px) {       /* lg */
  .d-lg-none        { display: none !important; }
  .d-lg-block       { display: block !important; }
  .d-lg-inline      { display: inline !important; }
  .d-lg-inline-block{ display: inline-block !important; }
}

@media (min-width: 1200px) {      /* xl */
  .d-xl-none        { display: none !important; }
  .d-xl-block       { display: block !important; }
  .d-xl-inline      { display: inline !important; }
  .d-xl-inline-block{ display: inline-block !important; }
}

@media (min-width: 1400px) {      /* xxl */
  .d-xxl-none        { display: none !important; }
  .d-xxl-block       { display: block !important; }
  .d-xxl-inline      { display: inline !important; }
  .d-xxl-inline-block{ display: inline-block !important; }
}

/* Optional “down” helpers (hide/show up to a breakpoint) */
@media (max-width: 575.98px) { .d-xs-none { display: none !important; } .d-xs-block { display: block !important; } }
@media (max-width: 767.98px) { .d-sm-down-none { display: none !important; } .d-sm-down-block { display: block !important; } }
@media (max-width: 991.98px) { .d-md-down-none { display: none !important; } .d-md-down-block { display: block !important; } }
@media (max-width: 1199.98px){ .d-lg-down-none { display: none !important; } .d-lg-down-block { display: block !important; } }
@media (max-width: 1399.98px){ .d-xl-down-none { display: none !important; } .d-xl-down-block { display: block !important; } }


h1 {
  font-size: 24em;
}

.bf-drawer-link{
  font-size: 10em;
}

.categories_link-text {
	font-size: 8em;
}
.categories_link {
	margin: 1em;
	padding: 3em;
}


@media (min-width: 768px) {       /* md */
	h1 {
	  font-size: 12.08em;
	}
	.bf-drawer-link{
		font-size: 1em;
	}
	.categories_link-text {
		font-size: 3em;
	}
	.categories_link {
		margin: .4em;
		padding: 1em 1.82rem;
	}	
}

@media screen and (min-width: 1440px) {
	.footer-name-text {
		font-size: 120px;
	}
}


.footer-name-block {
	justify-content: left;
}

.highlights__label {
  font-size: 2rem;
  color: #fff;
  font-weight: 700;
}

.highlights-item {
	box-shadow: none;
	background: transparent;
	width: clamp(300px, 30vmin, 500px);
}

@media (min-width: 768px) {       /* md */
	.highlights__label {
	  font-size: 3.5rem;
	}
}



:root{
  --bf-accent:#1c86b7; --bf-text:#eef2f7; --bf-card:#121523; --bf-overlay:rgba(0,0,0,.5);
  --bf-speed:.28s;
}

/* ----- Burger button (hidden on desktop) ----- */
.bf-burger{
  display:none; position:relative; z-index:1002;
  padding:10px 8px; border:0; background:transparent; cursor:pointer; border-radius:10px;
  -webkit-tap-highlight-color:transparent;
}

.bf-burger-line{width:26px; height:4px; background:#d7206f; display:block; border-radius:2px; margin:1px 0; transition:transform var(--bf-speed), opacity var(--bf-speed);}
.bf-burger.is-active .bf-burger-line:nth-child(1){ transform:translateY(7px) rotate(45deg); }
.bf-burger.is-active .bf-burger-line:nth-child(2){ opacity:0; }
.bf-burger.is-active .bf-burger-line:nth-child(3){ transform:translateY(-7px) rotate(-45deg); }

/* Ensure your existing header sits above page content */
.section.is--nav{ position:sticky; top:0; z-index:1001; }

/* ----- Drawer + overlay ----- */
.bf-overlay{ position:fixed; inset:0; background:var(--bf-overlay); z-index:999; opacity:0; pointer-events:none; transition:opacity var(--bf-speed); }
.bf-overlay.is-open{ opacity:1; pointer-events:auto; }

.bf-drawer{
  position:fixed; inset:0 0 0 auto; width:min(86vw,360px);
  background:var(--bf-card); color:var(--bf-text);
  transform:translateX(100%); transition:transform var(--bf-speed) ease; z-index:9000;
  box-shadow:-10px 0 30px rgba(0,0,0,.3);
}
.bf-drawer.is-open{ transform:translateX(0); }
.bf-drawer-inner{ display:grid; grid-template-rows:auto 1fr; height:100%; }
.bf-drawer-close{ margin:10px 10px 0 auto; background:transparent; color:#9aa4b2; border:0; font-size:30px; line-height:1; cursor:pointer; padding:6px 10px; border-radius:8px; }
.bf-drawer-nav{ display:grid; align-content:start; gap:8px; padding:10px 18px 24px; }
.bf-drawer-link{ display:block; text-decoration:none; color:var(--bf-text); padding:14px; border-radius:10px; font-weight:600; transition:background var(--bf-speed); }
.bf-drawer-link:hover{ background:rgba(255,255,255,.06); }
.bf-cta{ background:#d7206f; color:#fff; text-align:center; }

/* ----- Responsive behavior ----- */
@media (max-width: 899.98px){
  /* Hide your existing desktop link areas on small screens */
  .nav_side{ display:none !important; }
  /* Show burger on mobile */
  .bf-burger{ display:inline-grid; gap:2px; }
  /* Keep burger aligned on right side of the bar even if your .nav_top is flex/grid */
  .nav_top{ position:relative; }
  .bf-burger{ position:absolute; right:12px; top:50%; transform:translateY(-50%); }
}
